*{
    margin: 0;
    padding: 0;
}
ul li{
    list-style: none;
}
img{
    display: block;
}
body{
    padding: 20px;
    background-color: #F4F4F4;
}
.auto-img{
    width: 100%;
    height: 100%;
}
.all{
    width: 390px;
    height: 470px;
    overflow: hidden;
    margin: 0 auto;
    // background-color: green;
    .all-item{
        width: 190px;
        height: 470px;
        // background-color: hotpink;
        float: left;
        &:nth-child(2n){
            margin-left: 10px;
        }
    }
    .all-left{
        position: relative;
        width: 190px;
        height: 470px;
        >div{
            position: relative;
            width: 190px;
            height: 150px;
            margin-bottom: 10px;
            &:hover{
                &::before{
                    content: '';
                    position: absolute;
                    display: block;
                    width: 190px;
                    height: 150px;
                    top: 0;
                    left: 0;
                    background-color: white;
                    z-index: 1000;
                    opacity: 0.1;
                }
            }
            >img{
                cursor: pointer;
            }
        }
        >span{
            position: absolute;
            display: inline-block;
            width: 25px;
            height: 35px;
            top: 0;
            bottom: 0;
            left: 0;
            margin: auto 0;
            z-index: -1000;
            background-color: yellowgreen;
            text-indent: 2px;
            line-height: 35px;
            border-radius: 0 25px 25px 0;
            color: white;
            background-color: black;
            opacity: 0.2;
            &:nth-child(5){
                text-indent: 8px;
                left: 165px;
                border-radius: 25px 0 0 25px;
            }
            &:hover{
                opacity: 0.4;
            }
        }
        &:hover{
            >span{
                z-index: 2000;
            }
        }
    }
    .all-right{
        background-color: white;
        color: #666666;
        padding: 0 15px;
        box-sizing: border-box;
        .all-right-first{
            width: 1005;
            height: 67px;
            display: flex;
            justify-content: center;
            align-items: center;
            .all-right-first-img{
                width: 44px;
                height: 44px;
                border-radius: 50%;
                overflow: hidden;
            }
            .all-right-first-text{
                margin-left: 10px;
                font-size: 12px;
                >p{
                    cursor: pointer;
                    &:hover{
                        color: red;
                    }
                    &:nth-child(2){
                        color: #333333;
                        >span{
                            cursor: pointer;
                            &:hover{
                                color: red;
                            }
                            &:nth-child(2){
                                cursor: auto;
                                margin: 0 4px;
                            }
                        }
                    }
                }
            }
        }
        .all-right-second{
            width: 100%;
            height: 25px;
            font-size: 12px;
            color: #ffffff;
            >span{
                cursor: pointer;
                display: inline-block;
                width: 70px;
                height: 25px;
                text-align: center;
                line-height: 25px;
                border-radius: 12.5px;
                background-color: #e1251b;
                margin-right: 5px;
                &:hover{
                    background-color: #c81623;
                }
                &:nth-child(2){
                    color: #e5d790;
                    background: #363634;
                    &:hover{
                        background-color: #c81623;
                        color: #fff;
                    }
                }
            }
        }
        .line{
            width: 100%;
            height: 1px;
            background-image: linear-gradient(to right, white, #cccccc, white);
            margin: 10px 0;
        }
        .all-right-three{
            width: 100%;
            .all-right-three-head{
                margin-bottom: 8px;
                font-size: 12px;
                color: #999999;
                display: flex;
                justify-content: space-between;
                >span{
                    &:nth-child(1){
                        font-size: 14px;
                        color: #333333;
                        font-weight: bold;
                    }
                    &:last-child{
                        cursor: pointer;
                        &:hover{
                            color: #e1251b;
                        }
                    }
                }
            }
            .all-right-three-content{
                height: 16px;
                width: 100%;
                font-size: 12px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                margin-bottom: 6px;
                cursor: pointer;
                &:hover{
                    color: #e1251b;
                }
                >span{
                    display: inline-block;
                    width: 35px;
                    height: 16px;
                    color: #e1251b;
                    margin-right: 6px;
                    text-align: center;
                    line-height: 16px;
                    background-color: rgba(225,37,27,.08);
                }
                &:last-child{
                    margin-bottom: 0;
                }
            }
        }
        .all-right-last{
            width: 189px;
            overflow: hidden;
            >div{
                width: 53px;
                height: 55px;
                float: left;
                display: flex;
                flex-direction: column;
                align-items: center;
                margin-bottom: 2px;
                color: #333333;
                cursor: pointer;
                >div{
                    &:nth-child(1){
                        position: relative;
                        width: 28px;
                        height: 28px;
                        margin-bottom: 2px;
                        >img{
                            position: absolute;
                            left: 0;
                            top: 0;
                            z-index: 1;
                            &:nth-child(2){
                                z-index: -100;
                            }
                        }
                        
                    }
                    &:nth-child(2){
                        font-size: 12px;
                        width: 100%;
                        text-align: center;
                    }
                }
                &:hover{
                    color: #e1251b;
                    >div{
                        >img{
                            &:nth-child(2){
                                z-index: 1000;
                            }
                        }
                    }
                }
            }
        }
        
    }
}